
const lazy = () => {
    let index=null;
    return ()=>{
        if (index !== null) {
            return index+"非初始值"
        }
        index = `初始值`;
        return index
    }
}
const lazy1 = lazy();
console.log(lazy1());
console.log(lazy1());
